package com.example.treeHole.utils;


import java.util.HashMap;
import java.util.Map;

public class TrieNode {
    private char data;
    boolean isEnd;
    Map<Character, TrieNode> children;

    public TrieNode() {
        this.children = new HashMap<>();
    }

    public TrieNode(char data) {
        this.data = data;
        this.children = new HashMap<>();
    }
}
